package top.pengdev.esoffice.search.service.impl;

import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.pengdev.esoffice.common.model.Pager;
import top.pengdev.esoffice.search.service.SearchService;

import javax.annotation.Resource;

/**
 * SearchServiceImpl class
 *
 * @author pengdev
 * @description
 * @date 2020-11-25 10:38
 **/
@Service
public class SearchServiceImpl implements SearchService {

    @Resource
    private RestHighLevelClient client;

    @Override
    public Object searchTitle(String key, Pager pager) {
        return null;
    }

    @Override
    public Object searchContent(String key, Pager pager) {
        return null;
    }
}
